<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
         <link rel="stylesheet" type="text/css" href="../css/popup.css"/>
        <link rel="stylesheet" type="text/css" href="../css/kapiform.css"/>

 <script type="text/javascript" language="javascript">
        var open_cur = 0;
        $j = jQuery.noConflict();
        $j(document).ready(function(){
              
             

        });
    </script>
        <style type="text/css">
            .inputTextarea textArea{
                width:470px;
            }
    </style>
    </head>
   
    <f:view>
        <f:loadBundle basename="#{environmentSession.localizationSource}" var="locale"/>
    <body style=" float:left; width:auto; height:auto; margin:0px;">
        <div class="popup" style="height:350px; width:700px">
            <div class="popup-header">
                <div class="title"><h:outputText value="#{locale.title_mail_sgt}"/></div>
            </div>
            <div class="popup-content">
                <div class="main_content">
                    <div class="form_item_content" style="display: block;">
                        <div class="fields_input inputTextarea">
                            <label><h:outputText value="Gửi đến"/>*:</label>
                            <h:inputTextarea value="thanhluan.soft@gmail.com,luantt@queenb.vn,divang19862004@yahoo.com.vn"/>
                        </div>
                        <div class="fields_input">
                            <label><h:outputText value="Phương thức gửi"/>*:</label>
                            <h:selectOneMenu value="">
                                <f:selectItem itemValue="1" itemLabel="Gửi cho khách hàng"/>
                                <f:selectItem itemValue="2" itemLabel="Gửi cho khách hàng"/>
                                <f:selectItem itemValue="3" itemLabel="Gửi cho khách hàng"/>
                            </h:selectOneMenu>
                        </div>
                        <div class="fields_input">
                            <label><h:outputText value="Loại mẩu thư"/>:</label>
                            <h:selectOneMenu value="">
                                <f:selectItem itemValue="1" itemLabel="Sinh nhật"/>
                                <f:selectItem itemValue="2" itemLabel="Lễ kỷ niệm"/>
                                <f:selectItem itemValue="3" itemLabel="Chúc mừng"/>
                            </h:selectOneMenu>
                        </div>
                        <div class="fields_input">
                            <label><h:outputText value="Mẫu thư"/>:</label>
                             <h:selectOneMenu value="">
                                <f:selectItem itemValue="1" itemLabel="Thư chúc mừng sinh nhật khách hàng"/>
                                <f:selectItem itemValue="2" itemLabel="Thư chúc mừng ngày thành lập Công ty"/>
                                <f:selectItem itemValue="3" itemLabel="Chúc mừng"/>
                            </h:selectOneMenu>
                        </div>
                        <div class="fields_input inputTextarea">
                            <label><h:outputText value="Nội dung"/>:</label>
                            <h:inputTextarea value="Nhân dịp sinh nhật CTY SGT chúc sức khẻo - hạnh phúc"/>
                        </div>
                    </div>
                </div>
            </div>
            <div class="popup-footer">

                <div class="buttonsave" style="margin-right: 44px;" onclick="jQuery.fancybox.close()"><span><h:outputText value="#{locale.close}"/></span></div>
                        <h:commandButton  id="sumbitEmp" onclick="return validatecheck('cus-input-form-charge');"  styleClass="buttonsave sumbitEmp" value="LƯU">
                           
                        </h:commandButton>

            </div>
        </div>
    </body>
    </f:view>
</html>
<script type="text/javascript">
    $j(document).ready(function(){
        yhight = ($j('.popup').height()-90)+"px" ;
        $j('.main_content').css('height',yhight );
        $j('.popup-content').css('height',yhight );
    });
</script>